package com.advert.model.support;

import javax.persistence.*;


@Entity
@Table(name = "s_vehicle_state")
@NamedQueries(
@NamedQuery(name = "VehicleStateEntity.getAll", query = "select vs from VehicleStateEntity vs")
)
public class VehicleStateEntity{
    @Id
    @Column(name = "code", insertable = false, updatable = false)
    private String code;

    @Column(name = "name", insertable = false, updatable = false)
    private String name;


    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}